package Test09;

//类的继承————super关键字

public class test02 {
    public static void main(String[] args) {
        Zi02 z = new Zi02();
        z.ziShow();
    }
}

class Fu02 {
    String name = "Fu";
}

class Zi02 extends Fu02 {
    String name = "Zi";

    public void ziShow() {
        String name = "Zishow";
        System.out.println(name);
        System.out.println(this.name);
        System.out.println(super.name);
    }
}
